//
//  AdvancedIdentify2ViewController.m
//  YTwallet
//
//  Created by ZhangLin on 2019/3/11.
//  Copyright © 2019年 hadrlog. All rights reserved.
//

#import "AdvancedIdentify2ViewController.h"
#import "AdvancedIdentify3ViewController.h"
#import "AdvancedIdentify2View.h"
@interface AdvancedIdentify2ViewController ()
@property(nonatomic,strong)AdvancedIdentify2View *advance2View;

@property(nonatomic,strong)UIButton *nextStypeBtn;

@end

@implementation AdvancedIdentify2ViewController

#pragma mark 初始化
-(void)loadView{
    [super loadView];
    self.advance2View = [[AdvancedIdentify2View alloc] initWithFrame:self.view.bounds];
    self.view = self.advance2View;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"高级认证";
    self.view.backgroundColor = [UIColor whiteColor];
    //下一步
    [self createNextStype];
}

-(void)createNextStype
{
    self.nextStypeBtn = [UIButton buttonWithType:(UIButtonTypeCustom)];
    self.nextStypeBtn.backgroundColor = [UIColor colorWithRed:91 / 255.0 green:113 / 255.0 blue:255 / 255.9 alpha:1];
    [self.nextStypeBtn setTitle:@"下一步" forState:(UIControlStateNormal)];
    [self.nextStypeBtn setTitleColor:[UIColor whiteColor] forState:(UIControlStateNormal)];
    self.nextStypeBtn.titleLabel.font = [UIFont systemFontOfSize:16];
    self.nextStypeBtn.frame = CGRectMake(0, self.view.frame.size.height - ETTopHeight - ETTabBarArcHeight - 44, self.view.frame.size.width, 44);
    [self.view addSubview:self.nextStypeBtn];
    [self.nextStypeBtn addTarget:self action:@selector(nextStypeBtnAction) forControlEvents:(UIControlEventTouchUpInside)];
}
-(void)nextStypeBtnAction
{
    AdvancedIdentify3ViewController *advancedVC = [[AdvancedIdentify3ViewController alloc] init];
    [self.navigationController pushViewController:advancedVC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
